package com.whq.thrift.api.gateway.db;

import java.util.List;

import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

public interface MerchantApiPermissionMapper {
	@Select("select * from t_merchant_api_permission ")
	@Results(
			value = {
					@Result(property="id", column="id"),
					@Result(property="merchantName", column="merchant_name"),
					@Result(property="apiMethod", column="api_method"),
					@Result(property="ipWhiteList", column="ip_white_list")
			}
		)
    public List<MerchantApiPermission> findAllMerchantApiPermissionList();
}
